package com.noahplat.oufu.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "mapapi", url ="http://apilocate.amap.com")
public interface OtherGetMapFeign {
    /*通过基站和wifi信息获取当前设备位置*/
    @GetMapping("/position")
    String getLocationmacs(@RequestParam String key, @RequestParam String accesstype, @RequestParam String cdma, @RequestParam String network, @RequestParam String macs, @RequestParam String imei);
    /*通过基站和wifi信息获取当前设备位置*/
    @GetMapping("/position")
    String getLocation(@RequestParam String key, @RequestParam String accesstype, @RequestParam String cdma, @RequestParam String network, @RequestParam String bts, @RequestParam String imei);

    /*通过基站和wifi信息获取当前设备位置*/
    @GetMapping("/position")
    String getLocationfourg(@RequestParam String key, @RequestParam String accesstype, @RequestParam String cdma, @RequestParam String network,@RequestParam String bts, @RequestParam String macs, @RequestParam String imei);
}
